package cn.com.roy.thread.t3_1_11.stack_3;

public class ThreadC extends Thread{
    private String lock ;
    private MyStack stack;
    public ThreadC(MyStack stack){
        this.stack = stack;
    }
    public void run() {
        while (true){
            stack.pop();

        }
    }
}
